package com.store.bookstore_backend.mapper;

import com.store.bookstore_backend.domain.BookstoreOrder;

import java.util.List;

/**
 * @author 14111
 * @description 针对表【bookstore_order(订单表)】的数据库操作Mapper
 * @createDate 2024-12-23 10:04:52
 * @Entity com.store.bookstore_backend.domain.BookstoreOrder
 */

public interface BookstoreOrderMapper {
    public List<BookstoreOrder> selectByUserId(Long userId);

    public BookstoreOrder selectByOrderId(String orderId);

    public void insert(BookstoreOrder bookstoreOrder);

    public void deleteByOrderId(String orderId);

    public void update(BookstoreOrder bookstoreOrder);
}




